import request from '@/utils/request';
import { stringify } from 'qs';

// 请求当前用户信息
export async function queryCurrentUser(params) {
  return request(`/zjf-oms/user/detail?${stringify(params)}`);
}

// 修改当前用户信息
export async function RewriteUserMessage(params) {
  return request('/zjf-oms/user/updateinfo', {
    method: 'PUT',
    data: params,
  });
}

